package com.zhxx.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @Author Alex
 * @Date 2022-11-14 10:33
 */
@Data
@TableName("course")
public class Course {
   @TableId(type = IdType.ASSIGN_ID)
   private Long id;

   private String name;

   private Long teacherId;

   @TableField(exist = false)
   private String teacherName;

   private String startTime;

   private String endTime;
   // 类型 1小班课，2 一对一
   private int type;
   // 课程备注介绍
   private String remark;
}
